home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Suzy B Software 2
/
Suzy B Software CD-ROM 2 (1994).iso
/
bootup
/
boot_n2z
/
startupm
/
startupm.doc
< prev
Wrap
Text File
|
1995-05-02
|
2KB
|
44 lines
Date: Sun, 22 Feb 87 06:48:48 GMT
From: tektronix!sequent!mntgfx!dclemans@ucbvax.Berkeley.EDU (Dave Clemans)
Subject: "startup" desk accessory
To: info-atari16@score.stanford.edu
What follows is a special "startup" desk accessory collection, called
"startupm.c".
It contains the following pieces:
All "control panel" desktop.inf lines are read on bootup (or on
request) and the system is initialized appropriately. If you've
used the standard Atari desk accessories to set desktop parameters
(colors, mouse info, etc), serial port info and parallel port info
and saved that to a desktop.inf file, this desk accessory will
set that information without having to have the standard desk
accessories present, taking up memory and accessory slots.
(Using an algorithm described once that's probably dependent on
the current OS roms) "startupm" displays the current amount of
free memory in the upper right hand corner of the screen. It also
displays the current time and date adjacent to the free memory
display.
"Startupm" puts an entry in the desk accessory menu called
"Other...". If that entry is selected, a dialog box is presented
with three options. The first, "Reset", rereads the desktop.inf
file and resets system parameters. It is typically used after
some program has clobbered the color map.
The second, "Idle", is a screen saver pattern that displays a
bouncing "ST" icon on a background that periodically changes color.
The final option, "Run Program", provides a way to run a program
(which can't be a GEM program (it must be a TOS-only program)
unfortunately) via a file selector dialog box. It's only really
useful if you want to run something that's not currently displayed
in a window, and you don't want to change the windows.
"Startupm.c" should be compiled as a desk accessory (of course). I have
only tried Megamax C; using other compilers shouldn't be difficult.